<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html>
<body>
<nav class="side-navbar">
            <!-- 管理员角色菜单 -->
            <c:if test="${sessionScope.user.managementType == 0 }">
            <ul class="list-unstyled">
                <li class="active"> <a href="${ctx }/main/index"><i class="icon-home"></i>Home</a></li>
                <li> <a href="${ctx }/managerUser/list"> <i class="icon-grid"></i>人员管理</a></li> 
                <!-- <li><a href="#elements" aria-expanded="false" data-toggle="collapse"> <i class="fa fa-globe"></i>UI Elements </a>
                    <ul id="elements" class="collapse list-unstyled">
                        <li><a href="ui-buttons.html">Buttons</a></li> 
                        <li><a href="ui-cards.html">Cards</a></li> 
                        <li><a href="ui-progressbars.html">Progress Bar</a></li> 
                        <li><a href="ui-timeline.html">Timeline</a></li>  
                    </ul>
                </li> -->
                <li> <a href="${ctx }/typeBook/list"> <i class="icon-grid"></i>书籍类型管理</a></li> 
                <li> <a href="${ctx }/book/list"> <i class="icon-grid"></i>书籍管理</a></li> 
                <li> <a href="${ctx }/bookBorrow/list"> <i class="icon-grid"></i>借阅信息管理</a></li> 
               
            </ul>
            </c:if>
            <!-- 借/还书管理员角色菜单 -->
            <c:if test="${sessionScope.user.managementType == 1 }">
            <ul class="list-unstyled">
                <li class="active"> <a href="${ctx }/main/index"><i class="icon-home"></i>Home</a></li>
                <li> <a href="${ctx }/typeBook/list"> <i class="icon-grid"></i>书籍类型管理</a></li> 
                <li> <a href="${ctx }/book/list"> <i class="icon-grid"></i>书籍管理</a></li> 
                <li> <a href="${ctx }/bookBorrow/list"> <i class="icon-grid"></i>借阅信息管理</a></li> 
               
            </ul>
            </c:if>
            <!-- 仓库管理员角色菜单 -->
            <c:if test="${sessionScope.user.managementType == 2 }">
            <ul class="list-unstyled">
                <li class="active"> <a href="${ctx }/main/index"><i class="icon-home"></i>Home</a></li>
                
            </ul>
            </c:if>
        </nav>
</body>
</html>
